package com.spboot.exts.mapper;

import com.spboot.exts.entity.Role;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author test
 * @since 2019-08-31
 */
public interface RoleMapper extends BaseMapper<Role> {

	int addRolePermission(
			@Param("roleId") Long roleId, 
			@Param("permIds") Long[] permIds);

	int delRolePermission(Long id);
}
